package com.ndp.fb.walle.business;

import com.ndp.fb.model.AdResourceStats;
import com.ndp.fb.rdb.model.User;
import com.ndp.fb.walle.model.vo.adresource.AdimageTagParam;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by Mikey.zhaopeng on 2014/10/22 20:19.
 * Email mikey.zhao@ndpmedia.com
 */
public interface AdImageService {

    Map<String, Object> getAdimagesList(AdimageTagParam adimageTagParam, User user);

    void updatePageView(List<AdResourceStats> adResourceStatses);

    void updateCountPageView(String userId,String mongodId,Long numOfPageViews,Long peopleNumOfPageViews);

    AdResourceStats getAdImageBymongodId(String mongodId);


    List<AdResourceStats> getAdimagesAllListMonByimageBathId(String imageBathId);

    Map<String, Integer> groupByImageHashForActiveAdCount(Set<String> md5Set, User user);

    void deleteAdImages(String userId, List<String> mongodbIds);
}
